import {User} from "../models/user";

let currentUser : User

const setCurrentUserState = (user:User) =>{
    currentUser = user
}

const getCurrentUserState = () : User =>{
    return currentUser
}

export{
    setCurrentUserState,
    getCurrentUserState
}